package com.jams.goodox.entity;

/**
 * Created by HP on 2018/5/20.
 *
 * 首页
 */

public class HomeCourse {
    public boolean isPlaying() {
        return isPlaying;
    }

    public void setPlaying(boolean playing) {
        isPlaying = playing;
    }

    private boolean isPlaying = false;
    private int type;
    private boolean isFree;
    private int memberId;
    private int courseId;
    private String title;

    private int price;
    private String radioLink;
    private String nickName;
    private String imgPath;
    private String descr;
    private int translateState;
    private int timeLength;


    public HomeCourse(int type,String title) {
        this.type = type;
        this.title = title;
    }

    public HomeCourse() {
    }

    @Override
    public String toString() {
        return "HomeCourse{" +
                "isFree=" + isFree +
                ", memberId=" + memberId +
                ", courseId=" + courseId +
                ", title='" + title + '\'' +
                ", price=" + price +
                ", radioLink='" + radioLink + '\'' +
                ", nickName='" + nickName + '\'' +
                ", imgPath='" + imgPath + '\'' +
                ", descr='" + descr + '\'' +
                ", translateState=" + translateState +
                ", timeLength=" + timeLength +
                ", type=" + type +
                '}';
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public boolean isFree() {
        return isFree;
    }

    public void setFree(boolean free) {
        isFree = free;
    }

    public int getMemberId() {
        return memberId;
    }

    public void setMemberId(int memberId) {
        this.memberId = memberId;
    }

    public int getCourseId() {
        return courseId;
    }

    public void setCourseId(int courseId) {
        this.courseId = courseId;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public double getPrice() {
        return price;
    }

    public void setPrice(int price) {
        this.price = price;
    }

    public String getRadioLink() {
        return radioLink;
    }

    public void setRadioLink(String radioLink) {
        this.radioLink = radioLink;
    }

    public String getNickName() {
        return nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

    public String getImgPath() {
        return imgPath;
    }

    public void setImgPath(String imgPath) {
        this.imgPath = imgPath;
    }

    public String getDescr() {
        return descr;
    }

    public void setDescr(String descr) {
        this.descr = descr;
    }

    public int getTranslateState() {
        return translateState;
    }

    public void setTranslateState(int translateState) {
        this.translateState = translateState;
    }

    public int getTimeLength() {
        return timeLength;
    }

    public void setTimeLength(int timeLength) {
        this.timeLength = timeLength;
    }
}
